CreditCards

public interface CreditCards

A data store for credit cards.

Functions

Link copied to clipboard
public abstract String add(CreditCard creditCard)
Adds a new record to the credit card store.
Link copied to clipboard
public abstract List<CreditCard> all()
Returns all credit cards.
Link copied to clipboard
public abstract void clear()
Clears all records in the store.
Link copied to clipboard
public abstract void remove(CreditCard creditCard)
Removes the credit from the store.